package com.loy.entity;

import java.io.Serializable;

/**
 * 1. 这个对象，需要在客户端-服务器端进行传输，所以需要实现序列化
 */
public class User implements Serializable {
    private  String  userId;
    private String password;

    public User() {
    }

    public User(String userId, String password) {
        this.userId = userId;
        this.password = password;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
